package com.example.scurity.exception;

import com.example.core.enums.ResultCode;
import lombok.Getter;

@Getter
public class ServiceException extends RuntimeException {

    private  String message;
    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
    public ServiceException(String message)
    {
        this.message = message;
    }
}
